/*
 * @(#) Constants.java  1.0  2003-10-14

 */

package com.cnc.bas.util;

import java.util.HashMap;
import java.util.Map;

/**
 * @author Du bf
 * @version 1.0  2005-04-15
 */
public class Constants {
    //===============����ΪBean Name==================
    public static String BEAN_NAME_BAS = "basService";
    public static String BEAN_NAME_SSM = "ssmService";

    //===============����Ϊ�û�����==================
    public static final String PERSONUSER = "0";
    public static final String USERMANAGER = "1";
    public static final String ADMIN = "2";

    //===============����Ϊ�ֵ�����==================
    public static final String CODE_TYPE_0001 = "0001"; //�Ա�
    public static final String CODE_TYPE_0002 = "0002"; //����̶�
    public static final String CODE_TYPE_0003 = "0003"; //֤������
    public static final String CODE_TYPE_0004 = "0004"; //����
    public static final String CODE_TYPE_0005 = "0005"; //������
    public static final String CODE_TYPE_0006 = "0006"; //
    public static final String CODE_TYPE_0020 = "0020"; //Ա������
    public static final String CODE_TYPE_0021 = "0021"; //�û�����

    public static String USER_KEY = "User";
    public static String SYSTEM_DATE = "SystemDate";
    public static String AUTH_LIST = "AuthList";
    public static String LOGIN_ID = "LoginId";

    public static int PAGE_SIZE = 20;
    public static String IDKey = "ID";
    
    
    public static final String MONITOR_LIST = "Monitor_List";
    
    //常规报警
    public static final Integer NORAML_PRIORITY_LOW = 1;
    public static final Integer NORAML_PRIORITY_HIGH = 101;
    //apollo报警
    public static final Integer APOLLO_PRIORITY_LOW = -101;
    public static final Integer APOLLO_PRIORITY_HIGH = -1;
    
    //资源类报警
    public static final Integer RESOURCE_PRIORITY_LOW = -301;
    public static final Integer RESOURCE_PRIORITY_HIGH = -201;
    
    //运维测试
    public static final Integer YW_PRIORITY_LOW = 201;
    public static final Integer YW_PRIORITY_HIGH = 301;
    
    //测试部测试
    public static final Integer TEST_PRIORITY_LOW = 401;
    public static final Integer TEST_PRIORITY_HIGH = 501;
    
    public static final String NORMAL_ALARM_A = "normalAlarmA";
    public static final String NORMAL_ALARM_B = "normalAlarmB";
    public static final String APOLLO_ALARM = "apolloAlarm";
    public static final String RESOURCE_ALARM = "resourceAlarm";  
    public static final String YW_ALARM = "ywAlarm";
    public static final String TEST_ALARM = "testAlarm";
    
    public static final String ALARM_ACTION = "alarmList";
    
    public static final String COLOR_CODE_TYPE = "2010";
    
    //出错类型中相关服务器信息列表
    public static Map AE131SERVER = new HashMap();
    
    public static final String ACCOUNT_ADMIN = "1";
    public static final String ACCOUNT_CUSTOMER = "2";
    
    
}
